package com.finalhomework.dms.dao;

import com.finalhomework.dms.entities.Repair;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RepairRepository extends CrudRepository<Repair,Integer> {

    public List<Repair> findAll();

    public Repair getRepairByRid(Integer rid);

}
